package com.southminority.ethnic.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 课程资料创建请求VO
 * 
 * @author SouthMinority
 */
@Data
@Schema(description = "课程资料创建请求")
public class CourseMaterialCreateReqVo {

    @Schema(description = "课程ID", required = true, example = "1")
    @NotNull(message = "课程ID不能为空")
    private Long courseId;

    @Schema(description = "资料文件名", required = true, example = "苗语东部方言发音指南.pdf")
    @NotBlank(message = "资料文件名不能为空")
    private String materialName;

    @Schema(description = "资料下载地址", required = true, example = "https://example.com/files/pronunciation-guide.pdf")
    @NotBlank(message = "资料下载地址不能为空")
    private String downloadUrl;

    @Schema(description = "资料下载数量", example = "0")
    private Integer downloadCount;
} 